package com.temp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.temp.dto.SearchCategoryDTO;
import com.temp.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    List<Category> findAllCategory(SearchCategoryDTO categoryDTO);

    Integer countAllCategory(SearchCategoryDTO categoryDTO);
}
